package com.yjkf.zh.admin.model;

import java.util.ArrayList;
import java.util.List;

public class SysUser extends SysBase{

    private String userName;
    private String  password;
    private String nickName;
    private byte status;
    private String mobile;
    private Long deptId;
    private String salt;

    private String homeUrl;

    private String deptName;

    private String roleName;

    private Long roleId;

    private UserDevice userDevice;


    public static class UserDevice{
        private Long id;
        private Long userId;
        private String deviceIdent;
        private Long deviceId;

        private String nickDeviceName;

        private Long pointNums;

        private Long parentDeviceId;
        private Long type;
        private Long orderNum;

        private Long createId;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public Long getUserId() {
            return userId;
        }

        public void setUserId(Long userId) {
            this.userId = userId;
        }

        public String getDeviceIdent() {
            return deviceIdent;
        }

        public void setDeviceIdent(String deviceIdent) {
            this.deviceIdent = deviceIdent;
        }

        public Long getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(Long deviceId) {
            this.deviceId = deviceId;
        }

        public String getNickDeviceName() {
            return nickDeviceName;
        }

        public void setNickDeviceName(String nickDeviceName) {
            this.nickDeviceName = nickDeviceName;
        }

        public Long getPointNums() {
            return pointNums;
        }

        public void setPointNums(Long pointNums) {
            this.pointNums = pointNums;
        }

        public Long getParentDeviceId() {
            return parentDeviceId;
        }

        public void setParentDeviceId(Long parentDeviceId) {
            this.parentDeviceId = parentDeviceId;
        }

        public Long getType() {
            return type;
        }

        public void setType(Long type) {
            this.type = type;
        }

        public Long getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(Long orderNum) {
            this.orderNum = orderNum;
        }

        public Long getCreateId() {
            return createId;
        }

        public void setCreateId(Long createId) {
            this.createId = createId;
        }
    }

    public UserDevice getUserDevice() {
        return userDevice;
    }

    public void setUserDevice(UserDevice userDevice) {
        this.userDevice = userDevice;
    }

    private List<SysUserRole> userRoles = new ArrayList<>();

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public byte getStatus() {
        return status;
    }

    public void setStatus(byte status) {
        this.status = status;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<SysUserRole> getUserRoles() {
        return userRoles;
    }

    public void setUserRoles(List<SysUserRole> userRoles) {
        this.userRoles = userRoles;
    }

    public String getHomeUrl() {
        return homeUrl;
    }

    public void setHomeUrl(String homeUrl) {
        this.homeUrl = homeUrl;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
